<?
include_once("./_common.php");
//header("Content-type: text/html; charset=utf-8");

$sql = "SELECT *
		  FROM info_form
		 ORDER BY id DESC";
$rst = sql_query($sql);

while($row = mysql_fetch_assoc($rst))
{
	$list[] = $row;
}

$result = "";

for ($i=0; $i<count($list); $i+=1)
{
	$result .= $list[$i]['id']."<col>".$list[$i]['in_name']."<col>".$list[$i]['in_hp']."<col>".$list[$i]['in_day1']."<col>END"."<row>";
}

echo($result);
?>